package com.haoniu.houses.service;

import com.haoniu.common.core.constant.ServiceNameConstants;
import com.haoniu.houses.domain.Result;
import com.haoniu.system.api.factory.RemoteFileFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author shrimpBalls
 * @Date2022/7/18 22:48
 * 概要：
 * 这是一个类
 */
// @FeignClient(name = "haoniu-upload")
 public interface UploadService {
    //@RequestMapping("/document/upload")
    Result upload(@RequestBody MultipartFile file);
}
